{include file="common/head.tpl"}
<body>
    <div class="container">
        <div id="header" class="span-24 last" style="height:70px;">
            <div class="span-6">
                <div id="messagebox">
                    Hi I'm message box!!
                </div>
            </div>
            <div class="span-10">
                <div id="breadCrumb">
                    <ul>
                        <li>
                            <a href="#">Home >></a>
                        </li>
                        <li>
                            <a href="#">Articles >></a>
                        </li>
                        <li>
                            You are here
                        </li>
                    </ul>
                </div>
            </div>
            <div id="toprightmenu" class="span-8 last" style="text-align:right">
                {if $pg!="home" && $pg!="404"}
				<a id="filter" href="#"><img style="margin-top: 10px; margin-right: 10px;" src="css/img/search.png"></a>
				<a id="add" href="#"><img style="margin-top: 10px; margin-right: 10px;" src="css/img/add.png"></a>
				{/if}
				<a href="./?pg=login&logout"><img style="margin-top: 10px;" src="css/img/logout.png"></a>
            </div>
        </div>
		{include file="common/menu.tpl"}
        <div id="content" class="span-18 last">
        	{if $pg!="home" && $pg!="404"}
            <div id="panel-filter">
                <form action="">
                    <fieldset>
                        <legend>
                            Filter example:
                        </legend>
                        <label for="search">
                            Search: 
                        </label>
                        <input class="text" type="text" />
                        <br/>
                        <input class="clear button" type="submit" value="Cerca"/>
                    </fieldset>
                </form>
                <br/>
            </div>
			{/if}
			{$content}
        </div>
        <div id="footer" class="span-24 last" style="text-align:center;">
            <p>
                Powered by Mediavip
            </p>
        </div>
    </div>
</body>
</html>
